#ifndef __TIMER8_H__
#define __TIMER8_H__

#include "gd32f4xx.h"
#include "systick.h"
#include "Timer_config.h"

void Timer8_init();
void Timer8_config(uint32_t prescaler, uint32_t period);

#if USE_TIMER8_CH0
void Timer8_ch0_update(float duty);
#endif

#if USE_TIMER8_CH1
void Timer8_ch1_update(float duty);
#endif


#endif